package com.dh.blog.handler.xml;
/**
 * XML(HTML)模板
 * @author David
 *
 */
public enum XmlTemplates {
	LINK_CATALOG("<a idx=#{id} h=#{h}>#{text}</a>"),
	DIV_CATALOG("<div id=#{id}>\n#{text}\n</div>"),
	DIV_UL_CATALOG("<div id=#{id}>\n<ul>\n#{text}\n</ul>\n</div>"),
	LI_LINK_CATALOG("<li><a idx=#{id} h=#{h} href=#{href|javascript:void(0);}>#{prefix}#{text}</a></li>"),
	SPAN_CATALOG("<span dx=#{id} h=#{h}>#{text}</span>"),
	LINK_MSG("<a href=#{href}>#{text}</a>");
	String value;
	XmlTemplates(String value){
		this.value = value;
	}
	public String getValue(){
		return this.value;
	}
}
